type go/types.methodList
17 uses
go/types (current package)
instantiate.go#L82: named.resolver = func(ctxt *Context, n *Named) (*TypeParamList, Type, *methodList) {
methodlist.go#L11: type methodList struct {
methodlist.go#L21: func newMethodList(methods []*Func) *methodList {
methodlist.go#L22: return &methodList{methods: methods}
methodlist.go#L27: func newLazyMethodList(length int) *methodList {
methodlist.go#L29: return &methodList{
methodlist.go#L36: func (l *methodList) isLazy() bool {
methodlist.go#L42: func (l *methodList) Add(m *Func) {
methodlist.go#L52: func (l *methodList) Lookup(pkg *Package, name string, foldCase bool) (int, *Func) {
methodlist.go#L61: func (l *methodList) Len() int {
methodlist.go#L70: func (l *methodList) At(i int, resolve func() *Func) *Func {
named.go#L27: methods *methodList
named.go#L30: resolver func(*Context, *Named) (tparams *TypeParamList, underlying Type, methods *methodList)
named.go#L65: func (check *Checker) newNamed(obj *TypeName, orig *Named, underlying Type, tparams *TypeParamList, methods *methodList) *Named {
named.go#L358: func expandNamed(ctxt *Context, n *Named, instPos token.Pos) (tparams *TypeParamList, underlying Type, methods *methodList) {
object.go#L238: resolve := func(_ *Context, t *Named) (*TypeParamList, Type, *methodList) {
typexpr.go#L448: inst.resolver = func(ctxt *Context, n *Named) (*TypeParamList, Type, *methodList) {